package org.sippr.rvt2ifc.dao;

import org.apache.ibatis.annotations.Mapper;
import org.sippr.rvt2ifc.pojo.ProjectModelRelation;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface ProjectModelRelationDao {
    int deleteByPrimaryKey(Long id);

    int insert(ProjectModelRelation record);

    int insertSelective(ProjectModelRelation record);

    ProjectModelRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProjectModelRelation record);

    int updateByPrimaryKey(ProjectModelRelation record);

    List<ProjectModelRelation> selectByModelUuid(String uuid);

    List<ProjectModelRelation> selectByProjectUuid(String projectUuid);

    ProjectModelRelation selectByModelUuidAndState(String xktModelUuid, Short state);

    void deleteByProjectUuid(String projectUuid);
}